Google News
logo
CPP - Quiz(MCQ)
Why we use the “dynamic_cast” type conversion?
A)
it is used for storage
B)
result of the type conversion is a valid
C)
result of the type conversion is an invalid
D)
to be used in low memory

Correct Answer :   result of the type conversion is a valid


Explanation :  It is used to check that operators and operands are compatible after conversion.

Advertisement